Move misplaced netif_free declaration.
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sun, 30 Oct 2005 16:17:21 +0000 (17:17 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sun, 30 Oct 2005 16:17:21 +0000 (17:17 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c

index b203d55c3b2515147066b8a28bd14da27d747abd..b7cfb56a74c74ab996460fb6ac90fb9213396117 100644 (file)
@@ -91,8 +91,6 @@
 static void network_tx_buf_gc(struct net_device *dev);
 static void network_alloc_rx_buffers(struct net_device *dev);
 
-static void netif_free(struct netfront_info *info);
-
 static unsigned long rx_pfn_array[NETIF_RX_RING_SIZE];
 static multicall_entry_t rx_mcl[NETIF_RX_RING_SIZE+1];
 static mmu_update_t rx_mmu[NETIF_RX_RING_SIZE];
@@ -192,6 +190,8 @@ static char *be_state_name[] = {
 #define WPRINTK(fmt, args...) \
        printk(KERN_WARNING "xen_net: " fmt, ##args)
 
+static void netif_free(struct netfront_info *info);
+
 /** Send a packet on a net device to encourage switches to learn the
  * MAC. We send a fake ARP request.
  *